[4/6] net: bcmgenet: Initial bcmgenet ACPI support
authorJeremy Linton <jeremy.linton@arm.com>
Mon, 24 Feb 2020 22:54:01 +0000 (16:54 -0600)
committerSalvatore Bonaccorso <carnil@debian.org>
Mon, 30 Mar 2020 21:06:57 +0000 (22:06 +0100)
commit9ce7e826912f19a4b283dcc9730bcc9b75822b09
tree71c7aadd8a15584b9148cc47c637cb01030fdba7
parentb3553ecce1b6dd58d2b7c2a568565b5a89cc57ab
[4/6] net: bcmgenet: Initial bcmgenet ACPI support

Origin: https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git/commit?id=99c6b06a37d4cab118c45448fef9d28df62d35d8
Bug-Debian: https://bugs.debian.org/950578

The rpi4 is capable of booting in ACPI mode with the latest
edk2-platform commits. As such it would be helpful if the genet
platform device were usable.

To achieve this we add a new MODULE_DEVICE_TABLE, and convert
a few dt specific methods to their generic device_ calls. Until
the next patch, ACPI based machines will fallback on random
mac addresses.

Signed-off-by: Jeremy Linton <jeremy.linton@arm.com>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Gbp-Pq: Topic features/all/bcmgenet
Gbp-Pq: Name 0004-net-bcmgenet-Initial-bcmgenet-ACPI-support.patch
drivers/net/ethernet/broadcom/genet/bcmgenet.c